package com.hzit.gateway.config;

import org.junit.jupiter.api.BeforeAll;
import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.time.ZonedDateTime;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
// @Configuration
public class HzitGatewayConfig {
// 	// @Bean
// 	public RouteLocator customRouteLocator(RouteLocatorBuilder builder){
// 		return builder.routes()
// 				.route("hzit-manager-router",r->r.path("/proxyApi/manager/**").filters(f->f.stripPrefix(1)).uri("lb:/hzit-manager"))
//
//
// 				.build();
// 	}
//
	public static void main(String[] args) {
		ZonedDateTime now = ZonedDateTime.now();
		System.out.println("now = " + now);
	}
}
